package com.learn.project2.mapper;

import com.learn.project2.bean.NewMarketRolePermission;
import com.learn.project2.bean.NewMarketRolePermissionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface NewMarketRolePermissionMapper {
    long countByExample(NewMarketRolePermissionExample example);

    int deleteByExample(NewMarketRolePermissionExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(NewMarketRolePermission record);

    int insertSelective(NewMarketRolePermission record);

    List<NewMarketRolePermission> selectByExample(NewMarketRolePermissionExample example);

    NewMarketRolePermission selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") NewMarketRolePermission record, @Param("example") NewMarketRolePermissionExample example);

    int updateByExample(@Param("record") NewMarketRolePermission record, @Param("example") NewMarketRolePermissionExample example);

    int updateByPrimaryKeySelective(NewMarketRolePermission record);

    int updateByPrimaryKey(NewMarketRolePermission record);
}